package com.ly.consumer.notify;

import com.alibaba.fastjson.TypeReference;
import com.common.redis.notify.AbstractRedisKeyExpirationListener;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.redis.listener.RedisMessageListenerContainer;
import org.springframework.stereotype.Component;

import java.util.List;

@Slf4j
@Component
class ConsumerRedisKeyExpirationListener extends AbstractRedisKeyExpirationListener {




    public ConsumerRedisKeyExpirationListener(RedisMessageListenerContainer listenerContainer) {
        super(listenerContainer);
    }

    @Override
    protected void handler(String str) {
        System.out.println("consumer："+str);
    }

}
